package com.gesee.zyspps.activity;

import java.util.List;

import com.gesee.zyspps.ZSApplication;
import com.gesee.zyspps.db.CmsPointsName;

/**
 * 
 * @ClassName: DataInit
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author fujianxiong
 * @date 2015-8-31 下午10:44:48
 * 
 */
public class DataInitCmsPointsName
{
    public static void initCmsPointName()
    {
        CmsPointsName jy = new CmsPointsName("JY", "原水", "JS", "给水", "#00FFFF", "管顶", "", 1);
        CmsPointsName ss = new CmsPointsName("SS", "输水", "JS", "给水", "#00FFFF", "管顶", "", 2);
        CmsPointsName zs = new CmsPointsName("ZS", "中水", "JS", "给水", "#00FFFF", "管顶", "", 3);
        CmsPointsName jp = new CmsPointsName("JP", "配水", "JS", "给水", "#00FFFF", "管顶", "", 4);
        CmsPointsName jz = new CmsPointsName("JZ", "直饮水", "JS", "给水", "#00FFFF", "管顶", "", 5);
        CmsPointsName xs = new CmsPointsName("XS", "消防水", "JS", "给水", "#00FFFF", "管顶", "", 6);
        CmsPointsName ls = new CmsPointsName("LS", "绿化水", "JS", "给水", "#00FFFF", "管顶", "", 7);
        CmsPointsName jh = new CmsPointsName("JH", "循环水", "JS", "给水", "#00FFFF", "管顶", "", 8);

        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(jy);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(ss);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(zs);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(jp);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(jz);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(xs);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(ls);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(jh);

        CmsPointsName ys = new CmsPointsName("YS", "雨水", "PS", "排水", "#4c3926", "管顶", "", 9);
        CmsPointsName ws = new CmsPointsName("WS", "污水", "PS", "排水", "#4c3926", "管顶", "", 10);
        CmsPointsName hs = new CmsPointsName("HS", "雨污合流", "PS", "排水", "#4c3926", "管顶", "", 11);

        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(ys);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(ws);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(hs);
        
        CmsPointsName mq = new CmsPointsName("MQ", "煤气", "RQ", "燃气", "#ff00ff", "管顶", "", 12);
        CmsPointsName yh = new CmsPointsName("YH", "液化气", "RQ", "燃气", "#ff00ff", "管顶", "", 13);
        CmsPointsName tr = new CmsPointsName("TR", "天然气", "RQ", "燃气", "#ff00ff", "管顶", "", 14);

        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(mq);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(yh);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(tr);
        
        CmsPointsName rs = new CmsPointsName("RS", "热水", "RL", "热力", "#ff8000", "管顶", "", 15);
        CmsPointsName zq = new CmsPointsName("ZQ", "蒸汽", "RL", "热力", "#ff8000", "管顶", "", 16);

        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(rs);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(zq);
        
        CmsPointsName gd = new CmsPointsName("GD", "供电", "DL", "电力", "#ff0000", "管顶", "", 17);
        CmsPointsName ld = new CmsPointsName("LD", "路灯", "DL", "电力", "#ff0000", "管顶", "", 18);
        CmsPointsName xh = new CmsPointsName("XH", "交通信号", "DL", "电力", "#ff0000", "管顶", "", 19);
        CmsPointsName dc = new CmsPointsName("DC", "电车", "DL", "电力", "#ff0000", "管顶", "", 20);

        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(gd);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(ld);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(xh);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(dc);
        
        CmsPointsName dx = new CmsPointsName("DX", "电信", "TX", "通信", "#00ff00", "管顶", "", 21);
        CmsPointsName lt = new CmsPointsName("LT", "联通", "TX", "通信", "#00ff00", "管顶", "", 22);
        CmsPointsName yd = new CmsPointsName("YD", "移动", "TX", "通信", "#00ff00", "管顶", "", 23);
        CmsPointsName tt = new CmsPointsName("TT", "铁通", "TX", "通信", "#00ff00", "管顶", "", 24);
        CmsPointsName ds = new CmsPointsName("DS", "有限电视", "TX", "通信", "#00ff00", "管顶", "", 25);
        CmsPointsName gb = new CmsPointsName("GB", "广播", "TX", "通信", "#00ff00", "管顶", "", 26);
        CmsPointsName jk = new CmsPointsName("JK", "监控信号", "TX", "通信", "#00ff00", "管顶", "", 27);
        CmsPointsName dt = new CmsPointsName("DT", "电力通讯", "TX", "通信", "#00ff00", "管顶", "", 28);
        CmsPointsName jygl = new CmsPointsName("JG", "军用光缆", "TX", "通信", "#00ff00", "管顶", "", 29);

        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(dx);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(lt);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(yd);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(tt);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(ds);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(gb);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(jk);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(dt);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(jygl);
        
        CmsPointsName sy = new CmsPointsName("SY", "石油", "GY", "工业", "#000000", "管顶", "", 30);
        CmsPointsName mh = new CmsPointsName("MH", "煤灰", "GY", "工业", "#000000", "管顶", "", 31);
        CmsPointsName qq = new CmsPointsName("QQ", "氢气", "GY", "工业", "#000000", "管顶", "", 32);
        CmsPointsName yy = new CmsPointsName("YQ", "氧气", "GY", "工业", "#000000", "管顶", "", 33);
        CmsPointsName gq = new CmsPointsName("GQ", "乙炔", "GY", "工业", "#000000", "管顶", "", 34);
        CmsPointsName yx = new CmsPointsName("YX", "乙烯", "GY", "工业", "#000000", "管顶", "", 35);
        CmsPointsName bq = new CmsPointsName("BQ", "苯", "GY", "工业", "#000000", "管顶", "", 36);
        CmsPointsName lq = new CmsPointsName("LQ", "氯气", "GY", "工业", "#000000", "管顶", "", 37);
        CmsPointsName dq = new CmsPointsName("DQ", "氮气", "GY", "工业", "#000000", "管顶", "", 38);
        CmsPointsName ey = new CmsPointsName("EY", "二氧化碳", "GY", "工业", "#000000", "管顶", "", 39);
        CmsPointsName aq = new CmsPointsName("AQ", "氨气", "GY", "工业", "#000000", "管顶", "", 40);
        CmsPointsName jb = new CmsPointsName("JB", "甲苯", "GY", "工业", "#000000", "管顶", "", 41);

        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(sy);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(mh);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(qq);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(yy);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(gq);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(yx);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(bq);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(lq);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(dq);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(ey);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(aq);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(jb);
        
        CmsPointsName zh = new CmsPointsName("ZH", "综合管沟", "ZH", "综合管沟", "#000000", "管顶", "", 42);
        ZSApplication.getDaoSession("zyspps-db").getCmsPointsNameDao().insert(zh);

    }
}
